package com.xinou.daily_report.PO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xinou.common.base.database.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @创建人 wdl
 * @创建时间 2021/6/11
 * @描述
 */
@Data
public class NotificationPO extends Page {
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "干的事情")
    private String matter;

    private Long userId;

    private Long deptId;

    @ApiModelProperty(value = "通报的次数")
    private Long notificationCount;


    @ApiModelProperty(value = "插入时间 yyyy-MM-dd HH:mm:ss", example = "2020-11-28 00:12:23", required = true)
    @JsonFormat(timezone = "GMT+8", shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "insert_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime insertTime;

    private Integer down;

    private Long sort;


}
